//
//  OMDraft.h
//  Weibbo
//
//  Created by ifuninfo on 13-6-9.
//  Copyright (c) 2013年 Omnivores. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DraftEntity.h"
#define WBBDRAFT [OMDraft sharedDraft]

@interface OMDraft : NSObject
{
    NSMutableArray  *_draftList;
}
+ (OMDraft *)sharedDraft;
- (int)count;
- (DraftEntity *)draftAtIndex:(int)index;
- (void)addDraft:(DraftEntity *)draft;
- (void)removeDraft:(DraftEntity *)draft;
- (void)removeDraftByIndex:(int)index;
- (void)insertDraft:(DraftEntity *)draft;
- (int)indexOfEntity:(DraftEntity *)draft;

- (void)replaceDraft:(DraftEntity *)draft index:(int)index;

@end
